from django.urls import path,include
from . import views
from django.views import View
urlpatterns = [
    #类视图 使用as_view()来识别请求的类型 然后根据请求的类型执行对应的函数
    path('MyView/',views.MyView.as_view()),
    path('Goods/',views.GoodView.as_view()),
]